<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage3.master" CodeFile="ReportePedidoCotizacion.aspx.cs" Inherits="ReportePedidoCotizacion" EnableEventValidation="false" %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
    Namespace="CrystalDecisions.Web" TagPrefix="CR" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="C_ReportePedidoCotizacion" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<fieldset>
<legend>Reporte Pedido Cotizacion</legend>
    <table>
        <tr>
            <td>
                <asp:Label ID="lb_proveedorBuscar" runat="server" CssClass="label" Text="Empresa:"></asp:Label></td>
            <td>
                &nbsp;<asp:TextBox ID="tb_proveedorBuscar" runat="server" CssClass="textBoxLetras, textBox30"
                    Height="16px" MaxLength="30"></asp:TextBox></td>
            <td style="width: 28px">
            </td>
            <td>
                <asp:Label ID="lb_productoBuscar" runat="server" CssClass="label" Text="Producto:"></asp:Label></td>
            <td>
                <asp:TextBox ID="tb_productoBuscar" runat="server" CssClass="textBoxLetras, textBox30"
                    Height="16px" MaxLength="30"></asp:TextBox></td>
            <td>
            </td>
            <td>
                <asp:Label ID="lb_marcaBuscar" runat="server" CssClass="label" Text="Marca:"></asp:Label></td>
            <td>
                <asp:TextBox ID="tb_marcaBuscar" runat="server" CssClass="textBoxLetras, textBox30"
                    Height="16px" MaxLength="30"></asp:TextBox></td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td style="width: 28px">
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lb_modelo" runat="server" CssClass="label" Text="Modelo:"></asp:Label></td>
            <td>
                <asp:TextBox ID="tb_modelo" runat="server" CssClass="textBoxLetras, textBox30" Height="16px"
                    MaxLength="30"></asp:TextBox></td>
            <td style="width: 28px">
            </td>
            <td>
                <asp:Label ID="lb_nroPedido" runat="server" CssClass="label" Text="Pedido de Cotizacion Nro.:"
                    Width="158px"></asp:Label></td>
            <td>
                <asp:TextBox ID="tb_nroPedido" runat="server" AutoPostBack="True" CssClass="textBoxLetras, textBox10"
                    Height="16px" MaxLength="10"></asp:TextBox></td>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td style="width: 28px">
            </td>
            <td>
            </td>
            <td class="derecha">
                &nbsp;</td>
            <td class="derecha">
            </td>
            <td class="derecha">
            </td>
            <td class="derecha">
                <asp:ImageButton ID="ib_reporte" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/lupa.png"
                    ToolTip="Generar Reporte" OnClick="ib_reporte_Click" /><asp:ImageButton ID="ib_cancelar" runat="server" CssClass="tamanhoBoton" ImageUrl="~/imagen/cancel.png"
                    OnClick="ib_cancelar_Click" ToolTip="Cancelar" /></td>
        </tr>
    </table>
    <cc1:FilteredTextBoxExtender ID="ftbe_producto" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_productoBuscar" ValidChars=" ">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_empresa" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_proveedorBuscar" ValidChars=" &-">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_modelo" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Numbers, Custom"
        TargetControlID="tb_modelo" ValidChars=" -&">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_marca" runat="server" FilterType="LowercaseLetters, UppercaseLetters, Custom"
        TargetControlID="tb_marcaBuscar" ValidChars=" -">
    </cc1:FilteredTextBoxExtender>
    <cc1:FilteredTextBoxExtender ID="ftbe_nroPedido" runat="server" FilterType="Numbers"
        TargetControlID="tb_nroPedido">
    </cc1:FilteredTextBoxExtender>
</fieldset>

<fieldset class="centro">
<legend>Reporte</legend>
    <table>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
                &nbsp;<CR:CrystalReportViewer ID="Reporte_Pedidos_Cotizaciones" runat="server" AutoDataBind="true"
                    DisplayGroupTree="False" ReportSourceID="CrystalReportSource_ReportePedidoCotizacion" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
            </td>
            <td>
                &nbsp;<CR:CrystalReportSource ID="CrystalReportSource_ReportePedidoCotizacion" runat="server">
                    <Report FileName="Reportes\ReportePedidoCotizaciones.rpt">
                    </Report>
                </CR:CrystalReportSource>
            </td>
        </tr>
    </table>

</fieldset>
</asp:Content>